--TEST--
When pear2::template_engine::Template is cast to a string, it outputs the file it represents
--FILE--
<?php

require_once __DIR__ . '/_setup.inc';

echo new pear2::template_engine::Template(__DIR__ . '/support/hello-world.txt') . "\n";

$template = new pear2::template_engine::Template(__DIR__ . '/support/message.tpl');
$template->message = "Hola World!";
echo $template . "\n";

$template->message = "This is a message...";
echo $template . "\n";

?>
===DONE===
--EXPECT--
Hello World!
Hola World!
This is a message...
===DONE===
